import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:shouyin_app/pages/login/login.dart';

class LoginView extends StatelessWidget {
  const LoginView({super.key});

  @override
  Widget build(BuildContext context) {
    return GetBuilder<LoginController>(
        init: LoginController(),
        builder: (controller) => Container(
      child: Row(
        children: [
          TextButton(onPressed: () {
            controller.login();
          }, child: Text('data'))
        ],
      ),
    ));
  }
}
